﻿Public Partial Class Wctl_Login
    Inherits System.Web.UI.UserControl
    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

    End Sub
    Protected Sub img_ingresar_Click(ByVal sender As Object, ByVal e As System.Web.UI.ImageClickEventArgs) Handles img_ingresar.Click
        Session("usuario") = 1
        'If Not DirectCast(sender.parent.parent.parent.parent, WebAppTestBuilder.Index).TreeView1.SelectedNode Is Nothing Then
        '    DirectCast(sender.parent.parent.parent.parent, Index).CargaControl(DirectCast(sender.parent.parent.parent.parent, WebAppTestBuilder.Index).TreeView1.SelectedNode.Target.Replace(".ascx", "") & ".ascx", True)
        'Else
        '    DirectCast(sender.parent.parent.parent.parent, WebAppTestBuilder.Index).CargaControl("", True)
        '    DirectCast(sender.parent.parent.parent.parent, WebAppTestBuilder.Index).CrearMenu()
        'End If

        'DirectCast(DirectCast(sender, Anthem.ImageButton), Anthem.ImageButton).Page
        If Session("control") Is Nothing Then

        End If
        Response.Redirect("index.aspx")
    End Sub
End Class